package com.drg.center.entity.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@ApiModel("重点项目统计列表信息")
@Data
public class KeyProjectsTotalStatPageVO implements Serializable {
    @ApiModelProperty(value = "病例号",hidden = true)
    private String caseCode;

    @ApiModelProperty("住院号")
    private String inpatientCode;

    @ApiModelProperty("患者姓名")
    private String patientName;

    @ApiModelProperty("患者性别")
    private String patientSex;

    @ApiModelProperty("患者年龄（岁）")
    private Integer patientAge;

    @ApiModelProperty("患者年龄，天")
    private Integer ageDay;

    @ApiModelProperty("身份证号")
    private String idCard;

    @ApiModelProperty("医保类型")
    private String medicareType;

    @ApiModelProperty("统筹区")
    private String coordinationArea;

    @ApiModelProperty("科室名称")
    private String departName;

    @ApiModelProperty("床位号")
    private String bedCode;

    @ApiModelProperty("主治医生")
    private String doctorName;

    @ApiModelProperty("入院日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime inHospitalDate;

    @ApiModelProperty("出院日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate outHospitalDate;

    @ApiModelProperty("结算日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate settleDate;

    @ApiModelProperty("住院天数")
    private Integer inpatientDays;

    @ApiModelProperty(value = "重点项目编码",hidden = true)
    private String projectCode;

    @ApiModelProperty("重点项目名称")
    private String keyProjectName;

    @ApiModelProperty("重点项目数量")
    private Integer keyProjectNum;

    @ApiModelProperty("使用时间")
    private String useTime;
}
